package cn.z2huo.knowledge.designpattern.simplefactory.example;

/**
 * 加法操作
 */
class OperationAdd extends Operation {
    @Override
    public double getResult() {
        return getNumberA() + getNumberB();
    }
}
